package com.xhj.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 评论(EduComment)实体类
 *
 * @author makejava
 * @since 2021-03-10 22:49:54
 */
@TableName("edu_comment")
@Data
public class Comment implements Serializable {
    private static final long serialVersionUID = 287511737905644057L;
    /**
    * ID
    */
    @TableId(value = "id",type = IdType.ID_WORKER_STR)
    private String id;
    /**
    * 课程id
    */
    private String courseId;
    /**
    * 讲师id
    */
    private String teacherId;
    /**
    * 会员id
    */
    private String memberId;
    /**
    * 会员昵称
    */
    private String nickname;
    /**
    * 会员头像
    */
    private String avatar;
    /**
    * 评论内容
    */
    private String content;
    /**
    * 逻辑删除 1（true）已删除， 0（false）未删除
    */
    @TableLogic
    private Integer isDeleted;
    /**
    * 创建时间
    */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
    * 更新时间
    */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;




}